package cn.lcsjsxy.yxc.exercise.java050519;

public class ArrayExerciseOne {
    public static String demo1() {
        int[][] ints = new int[][]{
                {1, 2},
                {1, 2, 3, 4, 5},
                {1, 2, 3},
                {11,22,55,66}
        };
        String str=new String();
        for (int i = 0; i < ints.length;i++){
            for (int j=0;j<ints[i].length;j++){
                System.out.println(ints[i][j]);
                str+=ints[i][j]+" ";
            }
        }
        System.out.println(str);
        return str;
    }
}
